package dao.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Passage entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "passage", catalog = "makeiteasy")
public class Passage implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields

	private Integer passageId;
	private String passageContext;

	// Constructors

	/** default constructor */
	public Passage() {
	}

	/** full constructor */
	public Passage(String passageContext) {
		this.passageContext = passageContext;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "passageId", unique = true, nullable = false)
	public Integer getPassageId() {
		return this.passageId;
	}

	public void setPassageId(Integer passageId) {
		this.passageId = passageId;
	}

	@Column(name = "paasageContext", length = 6144)
	public String getPassageContext() {
		return this.passageContext;
	}

	public void setPassageContext(String passageContext) {
		this.passageContext = passageContext;
	}

}